<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page session="false" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.net.test.vo.TestVO" %>

<script>
function go_save(){
	var frm = document.writeFrm;
	
	frm.action = "/testUpdate.ncb";
	frm.submit();
}

</script>
<% TestVO view = (TestVO)request.getAttribute("view"); %>

<br />
<h1>회원정보수정</h1> 
<br />

<form name="writeFrm" method="POST" >
	<input type="hidden" name="upid" value="<%=view.getId() %>">
	

	<table border="1" style="width:200px;">
	
	
		<tr>
			<td>아이디 :</td>
			<td><input type="text" name="id" style="width:98;"><%=view.getId() %></td>
		</tr>
		<tr>
			<td>이름 :</td>
			<td><input type="text"  name="name" style="width:98;"  ><%=view.getName()%></td>
		</tr>
		
		<tr>
			<td>비밀번호 :</td>
			<td><input type="password"  name="password" style="width:98;"  /><%=view.getPassword()%></td>
		</tr>
		
	</table>
	
	<input type="button" value="수정완료" onclick="javascript:go_save()" />
	
	<br /><br /><br />

</form>





